<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<title>IP Restriction</title>
</head>

<body bgcolor="#FFFFFF">

    <h1 align="center"><font face="Arial" color="#663300"><i>IP Restriction</i></font></h1>

    <p><font face="Arial" size="3">You can either ban or allow IPs to access the FTP server.  You can use a limited set of regular 
    expressions (*?[^-]) to specify the allowed/banned IPs.</font></p>

    <p><font face="Arial" size="3">The configuration parameter - <i>FtpServer.server.config.ip.allow</i> specifies whether to allow/deny 
    IPs. IP informations are stored in <u>&lt;CONFIG_DATA&gt;/ip.properties</u> file.</font></p>
    
    <p><font face="Arial"><b>Examples:</b></font></p>
    <p><font face="Arial" size="3"><u>FtpServer.server.config.ip.allow=false</u> bans all the specified IPs.<br>
    <u>123.234.111.*</u> will ban all IPs from 123.234.111.0 to 123.234.111.255<br>
    <u>123.234.111.22?</u> will ban all IPs from 123.234.111.220 to 123.234.111.229<br>
    <u>123.234.111.2[1-3]1</u> will ban 123.234.111.211, 123.234.111.221, 123.234.111.231<br>
    <u>123.234.111.2[^1-7]1</u> will ban 123.234.111.201, 123.234.111.281, 123.234.111.291<br>
    </font></p>
    
    <p><font face="Arial" size="3">Similarly, <u>FtpServer.server.config.ip.allow=true</u> will only allow the specified IPs.</font></p>
</body>
</html>
